import mx.controls.Alert;
/**
 * checkUserForm
 * 检查UserForm 输入项
 */
 public function checkUserForm():Boolean
 {
	if(UFax.text!=null && UFax.text!=""){
		var Faxv:RegExp=/^[+]{0,1}(\d){1,3}[ ]?([-]?((\d)|[ ]){1,12})+$/;
		if(!Faxv.test(UFax.text))
		{
			Alert.show("传真号码有误！","提示");
			return false;
		}
	}
	if(UMobileNo.text!=null && UMobileNo.text!=""){
		var mobilev:RegExp=/^(13|15|18)\d{9}$/;
		if(!mobilev.test(UMobileNo.text))
		{
			Alert.show("手机号码有误！","提示");
			return false;
		}
	}
	if(UZipCode.text!=null && UZipCode.text!=""){
		var zipv:RegExp =/[0-9]\d{5}(?!\d)/;
		if(!zipv.test(UZipCode.text))
		{
			Alert.show("邮政编码有误！","提示");
			return false;
		}
	}
	return true;
 }